<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>我的用户中心</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/main.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/style_userCenter.css">
	
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery-1.6.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery.validate.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/additional-methods.js" charset="utf-8"></script>

	<script type="text/javascript">
	  $(document).ready(function(){
	  	$("#fastRegCarForm").validate({
	  	rules : {
	  		"oldPassword" : {
	  			required : true
	  		},
	  		"newPassword" : {
	  			required : true,
	  			maxlength : 20,
	  			minlength : 6
	  		},
	  		"verifyPassword" : {
	  			required : true,
	  			equalTo : "#newPassword"
	  		}
	  	},
	  	messages : {
	  		"oldPassword" : {
	  			required : "请输入原密码"
	  		},
	  		"newPassword" : {
	  			required : "请输入密码",
	  			maxlength : "密码应该在6到20位之间",
	  			minlength : "密码应该在6到20位之间"
	  		},
	  		"verifyPassword" : {
	  			required : "请再次输入密码",
	  			equalTo : "两次输入的密码不一致"
	  		}
	  	}
	  	});
	  });
  </script>

  </head>
  <body>
	<div>
		<jsp:include page="../nav.jsp">
			<jsp:param value="nav_account" name="nav"/>
		</jsp:include>
	</div>
	<div class="realCer">
	
	<!--主体部分-->
	<div class="realMain clearfix mt10">
	 <!--左侧菜单-->
	<div class="realLeft" id="meunLeft">
	    <jsp:include page="../leftMenu.jsp">
	    	<jsp:param value="con_nav_account" name="con_nav"/>
	    	<jsp:param value="modifyPassword" name="selectMenu"/>
	    </jsp:include>
    </div>
    <!--中由-->
	<div class="realRight ml10">
		<!--中间-->
		<div class="realR_left">
			<div class="box">
			<div class="tit">修改密码</div>
			<div class="con">
				<div class="form_wrap clearfix">
			<div style="color: red; margin-left: 100px;">
				<s:property value="resultMsg" />
				<s:fielderror></s:fielderror>
			</div>
			<s:url var="changePasswordUrl" action="changePassword.action" namespace="/userAdmin"></s:url>
			<form method="post" id="fastRegCarForm" name="fastRegCarForm"
				action="<s:property value="#changePasswordUrl"/>">
				<dl>
					<dt>
						<label for="oldPassword">
							原密码:
						</label>
					</dt>
					<dd>
						<input type="password" name="oldPassword" id="oldPassword"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="newPassword">
							新密码:
						</label>
					</dt>
					<dd>
						<input type="password" maxlength="20" name="newPassword"
							id="newPassword" class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="verifyPassword">
							确认密码:
						</label>
					</dt>
					<dd>
						<input type="password"" name="verifyPassword" id="verifyPassword"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						&nbsp;
					</dt>
					<dd>
						<input type="submit" id="button_submit" class="regbtn"
							value="修改密码" />
					</dd>
				</dl>
			</form>
		</div>
		</div>
			</div>
		</div>
		<!-- 中间 -->
		<!--右侧-->
		<div class="realR_right">	
				
			<div class="box mb10">
				<div class="tit">雇主说</div>
				<div class="con">			
				  44444444444444
				</div>
			</div>
			
		</div>
		<!--右侧-->
	</div>
	<!--中由-->
</div>
</div>
	<div>
		<jsp:include page="/footer.jsp"></jsp:include>
	</div>
    </body>
</html>
